import parameterZh from '@/views/permission/gather/parameter/lang/zh';

import gatherMachineZh from '@/views/permission/gather/machine/lang/zh';

import orderZh from '@/views/permission/production/order/lang/zh';

export default {
  distribute: {
    table: {
      ...parameterZh.parameter.table,
      ...gatherMachineZh.gatherMachine.table,
      ...orderZh.order.table,

      saveParameterCode: '保存采集参数编码',
      saveParameterName: '保存采集参数名称',
      tableName: '参数配置',
      type: '下发值类型',
      value: '固定值',
      dictTypeCode: '字典表编码',
      dictionaryKey: '字典表字段',
      dictionaryKeyValue: '字典表字段值',
      formulaList: '计算公式',
      materialKey: '产品字段',
      cartonTypeCode: '箱型编码',
      corrugatedTypeCode: '楞别编码',
      outModeCode: '出条方式编码',
      num1ValType: '值1类型',
      num2ValType: '值2类型',
      num1Val: '值1固定值',
      num2Val: '值2固定值',
      computedType: '计算类型',
      result: '结果',
      delayTime: '延迟时间（ms）',
      isSaveByMaterial: '是否保存参数',
      distributeType: '下发方式',
      orderKey: '工单字段',
      orderKeyValue: '工单字段匹配值',
      isDistributeByAutoChangeOrder: '自动换单是否下发参数',
    },
    tipMsg: {
      numValTypeErr: '序号$index中值xxx类型不能为空',
      numValErr: '序号$index中值xxx固定值不能为空',
      numDictTypeCodeErr: '序号$index中值xxx字典表编码不能为空',
      numDictionaryKeyErr: '序号$index中值xxx字典表字段不能为空',
      numMaterialKeyErr: '序号$index中值xxx产品字段不能为空',
      numOrderKeyErr: '序号$index中值xxx工单字段不能为空',
      computedTypeErr: '序号$index中计算类型不能为空',
      valueErr: '序号$index中固定值不能为空',
      dictTypeCodeErr: '序号$index中字典表编码不能为空',
      dictionaryKeyErr: '序号$index中字典表字段不能为空',
      materialKeyErr: '序号$index中产品字段不能为空',
      formulaListErr: '序号$index中计算公式不能为空',
      hasOrderKeyValueErr: '序号$index中计算公式中无工单字段匹配值',
      orderKeyErr: '序号$index中工单字段不能为空',
    },
  },
};
